package top.jiangqiang.qyblog.core.mapstruct;

import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.springframework.core.convert.converter.Converter;
import top.jiangqiang.qyblog.core.domain.dto.DraftSaveOrUpdateDto;
import top.jiangqiang.qyblog.core.domain.entity.Draft;

@Mapper(config = MapperSpringConfig.class, unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface DraftSaveOrUpdateDtoToDraft extends Converter<DraftSaveOrUpdateDto, Draft> {
}
